package com.xmut.mall.auth.feign;

import com.xmut.mall.auth.utils.RespBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("mall-store")
public interface StoreFeignService {
    /**
     * 根据用户id获取商铺信息
     * @param memberId
     * @return
     */
    @PostMapping("/store/storeinfo/getShopStatusByMemberId/{memberId}")
    RespBean getShopStatusByMemberId(@PathVariable Long memberId);
}
